<template>
  <!-- 顶部红色区域 -->
  <Header class="header"></Header>
  <div class="centent">
    <Aside></Aside>
    <div class="main">
      <RouterView v-slot="{ Component }" :key="route.fullPath">
        <component :is="Component" />
      </RouterView>
    </div>
  </div>
  111111111111111111111111 2222222222222222222222
</template>

<script setup lang="ts">
import { useRoute } from "vue-router";
const route = useRoute();
</script>

<style lang="less" scoped>
.header {
  width: 100%;
  height: 60px;
  padding: 0;
}

.centent {
  display: flex;
  .main {
    width: 85%;
  }
}
</style>
